using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace AccountingModel.DTO
{
    // Use a data contract as illustrated in the sample below to add composite types to service operations.
    [DataContract]
    public class TransactionItem
    {
        [DataMember]
        public int Id
        {
            get;
            set;
        }
        [DataMember]
        public int AccountId
        {
            get;
            set;
        }
        [DataMember]
        public decimal Amount
        {
            get;
            set;
        }
        [DataMember]
        public bool IsCredit
        {
            get;
            set;
        }
    }
}
